<%@ Page Language="vb" AutoEventWireup="false" CodeFile="elencoI.aspx.vb" Inherits="elencoI" %>
<%@ Register TagPrefix="uc1" TagName="ucTestata" Src="../controlli/ucTestata.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>SICOP</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="javascript">
		
			function apri(s, pag, p){ 
					p = p + 'toolbar=no,location=no,menubar=no,resizable=yes,status=no,titlebar=no,scrollbars=yes,directories=no';
					window.open(s,null,p);
									}				
			--></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<input id="opName" type="hidden" runat="server" value="iscritti/schedaI.aspx" NAME="opName"><input id="apriAna" type="hidden" value="0" runat="server" NAME="apriAna">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table width="700" cellpadding="0" cellspacing="0" border="1" style="BORDER-RIGHT:1px; BORDER-TOP:1px; BORDER-LEFT:1px; BORDER-BOTTOM:1px"
					bordercolor="#de0029" id="tabella di contorno">
					<tr>
						<td width="100%" bgcolor="#de0029">
							<uc1:uctestata id="UcTestata1" runat="server"></uc1:uctestata>
							<table cellSpacing="0" cellPadding="0" width="700" border="0" bgcolor="#ffffff">
								<tr>
									<td vAlign="top" align="left" width="700">
										<p>
											<table id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
												<TBODY>
													<tr>
														<td colspan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
													</tr>
													<tr>
														<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
														<td colspan="3"><a href="../home.aspx"><span class="blu"><b>&gt; Home</b></span></a></td>
													</tr>
													<tr>
														<td colspan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
													</tr>
													<tr>
														<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
														<td width="36"><IMG height="11" src="../images/quadratino_rosso.gif" width="10"></td>
														<td align="left"><span class="titolo">Albo iscritti
																<asp:Label id="lbDesc" runat="server">Label</asp:Label></span></td>
														<td align="right"></td>
													</tr>
													<tr>
														<td width="6" height="10"><IMG height="10" src="../images/x.gif" width="6"></td>
														<td colSpan="3" height="10"><IMG height="10" src="../images/x.gif" width="1"></td>
													</tr>
													<tr>
														<td width="6"><IMG height="1" src="../images/x.gif" width="6"></td>
														<td width="17" style="WIDTH: 17px"></td>
														<td colSpan="2">
															<asp:LinkButton id="lkStat" Runat="server" CssClass="blu"><img src="../images/statistiche.gif" border="0"> statistiche</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
															<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../images/print.gif"></asp:ImageButton>
															<span class="blu">&nbsp;</span>
															<asp:LinkButton id="LinkButton1" runat="server" CssClass="blu">stampa iscritti </asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
															<asp:ImageButton id="ImageButton2" runat="server" ImageUrl="http://localhost/geometri/images/anteprima.gif"></asp:ImageButton>&nbsp;
															<asp:LinkButton id="lbExportSito" runat="server" CssClass="blu">esporta iscritti per sito</asp:LinkButton>
														</td>
													</tr>
												</TBODY>
											</table>
										</p>
										</SPAN>
										<P></P>
										<TABLE id="table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TBODY>
												<TR>
													<TD vAlign="top" align="left" width="700">
														<TABLE height="18" cellSpacing="0" cellPadding="0" width="700">
															<TBODY>
																<TR>
																	<td style="HEIGHT: 13px" vAlign="top" align="left" width="6" background="../images/riga_rossa_sopra.gif"><IMG height="18" src="images/x.gif" width="6" border="0"></td>
																	<TD background="../images/riga_rossa_sopra.gif"><IMG height="1" src="../images/x.gif" width="4" border="0"></TD>
																	<asp:Panel Runat="server" ID="pnPrat">
																		<TD width="11"><IMG height="18" src="../images/curva_sx_off.gif" width="11" border="0"></TD>
																		<TD noWrap background="../images/tab_off.gif">
																			<asp:linkbutton id="lkPrat" CssClass="ordinato_bold" Runat="server">praticanti&nbsp;</asp:linkbutton></TD>
																		<TD width="13"><IMG height="18" src="../images/curva_dx_off.gif" width="13" border="0"></TD>
																	</asp:Panel>
																	<TD width="11"><IMG height="18" src="../images/curva_sx_on.gif" width="11" border="0"></TD>
																	<TD noWrap background="../images/tab_on.gif"><SPAN class="ordinatoattivo_bold">iscritti</SPAN></TD>
																	<TD width="13"><IMG height="18" src="../images/curva_dx_on.gif" width="13" border="0"></TD>
																	<TD width="100%" background="../images/riga_rossa_sopra.gif"><IMG height="1" src="../images/x.gif" width="1" border="0"></TD>
																	<td style="HEIGHT: 13px" vAlign="top" align="left" width="6" background="../images/riga_rossa_sopra.gif"><IMG height="18" src="images/x.gif" width="6" border="0"></td>
																</TR>
															</TBODY>
														</TABLE>
														<TABLE bgcolor="#fff8f9" cellSpacing="0" cellPadding="0" width="700">
															<TBODY>
																<TR>
																	<TD bgColor="#fff8f9" colSpan="2" height="20"><IMG height="1" src="../images/x.gif" width="1" border="0">
																		<asp:radiobuttonlist id="rdTutti" runat="server" CssClass="nero" RepeatDirection="Horizontal" AutoPostBack="True"
																			BackColor="#FFF8F9">
																			<asp:ListItem Value="0" Selected="True">attivi</asp:ListItem>
																			<asp:ListItem Value="1">storico</asp:ListItem>
																			<asp:ListItem Value="2">tutti</asp:ListItem>
																		</asp:radiobuttonlist></TD>
																	<td width="6"><img src="../images/x.gif" width="6"></td>
																</TR>
																<TR>
																	<td width="6"><img src="../images/x.gif" width="6"></td>
																	<TD style="HEIGHT: 31px" bgColor="#fff8f9" width="100%"><SPAN class="blu">Nominativo:</SPAN>
																		<asp:textbox id="txNome" runat="server" CssClass="nero"></asp:textbox>
																		<asp:DropDownList id="ddlTipoRicerca" runat="server" Font-Size="XX-Small">
																			<asp:ListItem Value="Inizia con">Inizia con</asp:ListItem>
																			<asp:ListItem Value="Contiene">Contiene</asp:ListItem>
																		</asp:DropDownList>&nbsp;<asp:imagebutton id="cerca" Runat="server" ImageUrl="../images/lente.gif"></asp:imagebutton>&nbsp;<FONT class="blu">cerca</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
																		<SPAN class="blu">Numero Iscrizione:</SPAN>
																		<asp:textbox id="txNumero" runat="server" CssClass="nero" Width="114px"></asp:textbox>
																		<asp:imagebutton id="cerca2" Runat="server" ImageUrl="../images/lente.gif"></asp:imagebutton>&nbsp;<FONT class="blu">cerca</FONT>&nbsp;</TD>
																	<td width="6"><img src="../images/x.gif" width="6"></td>
																</TR>
																<TR>
																	<td width="6" background="../images/riga_blu.gif"><img src="../images/x.gif" width="6"></td>
																	<TD align="center" background="../images/riga_blu.gif"><IMG height="16" src="../images/x.gif" width="112" border="0"></TD>
																	<td width="6" background="../images/riga_blu.gif"><img src="../images/x.gif" width="6"></td>
																</TR>
															</TBODY>
														</TABLE>
														<img src="../images/x.gif" width="6"><font class="blu"><INPUT class="blu" id="Button1" style="BACKGROUND-POSITION: left center; BACKGROUND-IMAGE: url(../images/new.gif); CURSOR: hand; BORDER-TOP-STYLE: none; BACKGROUND-REPEAT: no-repeat; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none"
																type="button" value="  crea nuovo" name="btNew" runat="server"></font>
														<BR>
														&nbsp;
													</TD>
													<img src="../images/x.gif" width="6"><BR>
										&nbsp;
									</td>
								</tr>
							</table>
							<table cellSpacing="0" cellPadding="0" width="700" border="0">
								<TR>
									<td vAlign="top" align="left" width="6"><IMG height="1" src="../images/x.gif" width="6" border="0"></td>
									<TD vAlign="top" align="left" width="688"><asp:datagrid id="dgIsc" runat="server" Width="100%" AllowPaging="True" PagerStyle-Position="Top"
											PagerStyle-Mode="NumericPages" PageSize="20" AutoGenerateColumns="False" AllowSorting="True" PagerStyle-CssClass="ordinato" BorderColor="#1A49A3"
											GridLines="Horizontal">
											<Columns>
												<asp:BoundColumn Visible="False" DataField="id_isc"></asp:BoundColumn>
												<asp:BoundColumn Visible="False" DataField="id_ana"></asp:BoundColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top" CssClass="blu" Font-Bold="True"></HeaderStyle>
													<ItemStyle Width="400px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<asp:ImageButton Runat="server" OnClick="ordina_nome" ImageUrl="../images/q_on.gif" ID="imgNome"></asp:ImageButton>
														Nominativo
													</HeaderTemplate>
													<ItemTemplate>
														<asp:LinkButton id="lkVedi" CausesValidation="False" CssClass="nero_bold" CommandName="vedi" runat="Server">
															<%# DataBinder.Eval(Container.DataItem, "nominativo") %>
														</asp:LinkButton>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top" CssClass="blu" Font-Bold="True"></HeaderStyle>
													<ItemStyle Width="400px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														Data Nascita
													</HeaderTemplate>
													<ItemTemplate>
														<%# DataBinder.Eval(Container.DataItem, "data_nascita") %>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top" CssClass="blu" Font-Bold="True"></HeaderStyle>
													<ItemStyle Width="400px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<asp:ImageButton Runat="server" OnClick="ordina_num" ImageUrl="../images/q_on.gif" ID="imgNum"></asp:ImageButton><span class="blu"><b>
																N. iscrizione</b></span>
													</HeaderTemplate>
													<ItemTemplate>
														<%# DataBinder.Eval(Container.DataItem, "numero_iscrizione") %>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top" CssClass="blu" Font-Bold="True"></HeaderStyle>
													<ItemStyle Width="400px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<span class="blu"><b>Data Iscrizione</b></span>
													</HeaderTemplate>
													<ItemTemplate>
														<%# DataBinder.Eval(Container.DataItem, "DataIscrizione") %>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn Visible="False">
													<HeaderStyle VerticalAlign="Top" CssClass="blu" Font-Bold="True"></HeaderStyle>
													<ItemStyle Width="400px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														Codice Fiscale
													</HeaderTemplate>
													<ItemTemplate>
														<asp:LinkButton id="lkVedi1" CausesValidation="False" CssClass="nero_bold" CommandName="vedi" runat="Server">
															<%# DataBinder.Eval(Container.DataItem, "CF") %>
														</asp:LinkButton>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
										</asp:datagrid></TD>
									<td vAlign="top" align="left" width="6"><IMG height="1" src="../images/x.gif" width="6" border="0"></td>
								</TR>
							</table>
						</td>
					</tr>
				</table>
				<!-- tabella di chiusura -->
				<TABLE id="chiusura" cellSpacing="0" cellPadding="0" width="100%" bgColor="#fff8f9">
					<tr>
						<td height="5"><IMG height="5" alt="" src="../images/x.gif"></td>
					</tr>
					<tr>
						<td background="../images/chiusuraRossa.gif" height="14">
							<div align="center"><b><font face="Tahoma" color="#ffffff" size="1">Techno<i>service</i> 2005. 
										All rights reserved</font></div>
							</B></td>
					</tr>
				</TABLE>
				</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></div>
		</form>
		<script>
		if (document.Form1.apriAna.value==1)
				apri('../anagrafica.aspx', 'A', 'width=750,height=500,');
		</script>
	</body>
</HTML>
